/**
 * 
 */
package com.kathez.dao;

import com.kathez.CRUDOperataionType;
import com.kathez.Root;
import com.kathez.entity.DAOOperable;

/**
 * @author Balaji T
 *
 */
public class KathezDaoDelegate extends Root implements IKathezDao {

	/**
	 * @param daoObject
	 */
	public KathezDaoDelegate(IKathezDao daoObject) {
		super();
		this.daoObject = daoObject;
	}
	
	/* (non-Javadoc)
	 * @see com.kathez.dao.IKathezDao#doDataOperation(com.kathez.entity.KathezEntity, com.kathez.CRUDOperataionType)
	 */
	@Override
	public DAOResult doDataOperation(DAOOperable entityObject,
			CRUDOperataionType opearationType) {
		return this.daoObject.doDataOperation(entityObject, opearationType);
	}	
	
	private IKathezDao daoObject;
}
